Tabs 選項卡

- 用標籤把相關內容分類整理
- 標籤分為主要和次要兩種
- 標籤欄可以左右滑動,可以新增任意數量的標籤
- 所有標籤都在同一層級
Primary tabs 主標籤頁


Primary tabs states 主標籤狀態

Secondary tabs 次標籤頁




| Attribute 屬性 | Value 值 |
| Container height (label text only)容器高度(僅標籤文字) | 48dp |
| Container height (icon and label text)容器高度(圖示和標籤文字) | 64dp |
| Icon size 圖示大小 | 24dp |
| Divider height 分隔線高度 | 1dp |
| Primary active indicator height主要活動指示器高度 | 3dp |
| Secondary active indicator height次要活動指示器高度 | 2dp |
| Active indicator shape 活動指示器形狀 | 3, 3, 0, 0 |
| Active indicator minimum length活動指示器最小長度 | 24dp |
| Padding between inline icon and text內聯圖示與文字之間的間距 | 8dp |
| Padding between inline text and badge內聯文字與徽章之間的間距 | 4dp |
| Overlap of badge on stacked icon堆疊圖示上徽章的重疊情況 | 6dp |